package com.liutaw.nanjingair.views.fragments;


import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.FrameLayout;

import com.liutaw.nanjingair.R;
import com.liutaw.navigationbarlib.NaviBarBuilder;

import butterknife.Bind;
import butterknife.ButterKnife;

public class SettingsFragment extends Fragment {

    @Bind(R.id.navi_container)
    FrameLayout navi_container;
    NaviBarBuilder navigationBarView;
    public SettingsFragment() {
    }


    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.layout_fragment_settings, container, false);
        ButterKnife.bind(this, view);
        navigationBarView = new NaviBarBuilder(getActivity());
        navigationBarView.buildCenterView().buildTitleText("个人设置");
        navi_container.addView(navigationBarView.build());
        return view;
    }

}
